<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form name="myForm" action="/word/2/html" method="post" enctype="multipart/form-data">
        <table>
            <tr>
                <td width="250px">请上传文件：</td>
                <td><input type="file" name="file" id="file"  accept='application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document'></td>
                <td><input  type="submit" value="上传"></td>
                <td style="color:red;">(Word先转html)</td>
            </tr>

        </table>
    </form>
    <form name="myForm" action="/word/3/Pdf" method="post" enctype="multipart/form-data">
        <table>
            <tr>
                <td width="250px">请上传文件：</td>
                <td><input type="file" name="file" id="file" accept='application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document'></td>
                <td><input  type="submit" value="上传"></td>
                <td style="color:red;">(Word先转html再转pdf)</td>
            </tr>
        </table>
    </form>
</body>
</html>